package com.vf.admin.client.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppCommentReply;
import com.vf.admin.miaodong.entity.AppUser;

import java.util.List;
import java.util.Map;

public interface AppCommentReplyService {

    public void saveOrUpdate(AppCommentReply appCommentReply);

    /**
     * 评论回复保存
     * @param commentid 评论id
     * @param user 评论发布人
     * @param reply 评论回复人

     * @param neirong 评论回复内容
     */
    public void plHuifuSave(Integer commentid, AppUser user,AppUser reply,String neirong);

    public AppCommentReply getById(Integer id);

    public List<AppCommentReply> appFindList(Map<String, Object> paramap, SplitPageBean splitPageBean);

    public List<AppCommentReply> specificUserList(Integer commentid, SplitPageBean splitPageBean);

    /**
     * 获取指定评论的回复
     * @param commentid
     * @return
     */
    public List<AppCommentReply> hfcount(Integer commentid);

    public void updateStatus(Integer id, Integer status);

}
